import config from "@/config";
import http from "@/utils/request";
// 获取设备页面所有信息
export const getData = {
	url: `${config.BASE_URL}/audit/getcity`,
	name: "市武装部审核-获取所有信息",
	get: async function () {
		return await http.get(this.url);
	},
};
// 姓名查询功能
export const searchData = {
	url: `${config.BASE_URL}/audit/getcityname`,
	name: "市武装部审核-姓名查找功能",
	post: async function (params = "") {
		return await http.post(this.url + params);
	},
};
// 审核功能
export const judgeCityApi = {
	url: `${config.BASE_URL}/audit/city`,
	name: "镇武装部审核-审核功能",
	body: {
		cityAuditReason: "",
		cityAuditResult: "",
		examineId: "",
	},
	post: async function () {
		return await http.post(this.url, this.body);
	},
};
